// 产品轮播
var imgUrls=[//轮播
  '../images/details/1.png',
  '../images/details/1.png',
  '../images/details/1.png',
  '../images/details/1.png'
]
// 产品价格规格
var spinfo=
{
  sp: {
    productImg: "../images/details/xiaotuImg.png",
    name: "优原风味发酵乳（箱）",
    limitHead: "限时特惠",
    price: 12.00,
    company2: "/袋",
    originalPrice: "￥24.00",
    salesVolume: "已配送10505821份",
    remindImg: "../images/details/now.png",
    remindText: "现在下单，最早两天后(2018年11月14日)送到您家。",
    stock: 70,
    num: 1,//总数量
    priceSum: 12.00,//每天合计
    priceSumday: 360,//总合计
    shoppingcartText: 3,//购物车
    note: "限时优惠",
  },
  tjsp: [
  {
    "spid": '0',
    "cpgg": '150ml',
    "productImg": '../images/details/1.png',
    "kucunNum": '100',
    "shouqing":false,//20200717是否售罄下架，true售罄，false未售罄
    "xiajia": true,//文字true已下架，false已售罄
  },
  {
    "spid": '1',
    "cpgg": '180ml',
    "productImg": '../images/index/product/shuiguo/3.png',
    "kucunNum": '100',
    "shouqing": true,
    "xiajia": true,
  },
  {
    "spid": '2',
    "cpgg": '牛奶+面包',
    "productImg": '../images/details/1.png',
    "kucunNum": '70',
    "shouqing": false,
    "xiajia": false,
  },
  {
    "spid": '3',
    "cpgg": '1000ml',
    "productImg": '../images/details/1.png',
    "kucunNum": '100',
    "shouqing": true,
    "xiajia": false,
  },
  {
    "spid": '4',
    "cpgg": '200ml',
    "productImg": '../images/details/1.png',
    "kucunNum": '100',
    "shouqing": false,
    "xiajia": false,
  },
],
syspars:{
  remindText: '23:59前下单，最早4天后送达'
},
model:[
  {
    title: "天天送",
    zhouqi:'0'
  },
  {
    title: "隔日送",
    zhouqi: '1'
  },
  {
    title: "三日送",
    zhouqi: '2'
  },
  {
    title: "单日送",
    zhouqi: '3'
  },
  {
    title: "双日送",
    zhouqi: '4'
  },
  {
    title: "工作日送",
    zhouqi: '5'
  },
  {
    title: "周末送",
    zhouqi: '6'
  },
],
dnTs:[
  {
    milkingDay: 30
  },
  {
    milkingDay: 60
  },
  {
    milkingDay: 90
  },
  {
    milkingDay: 120
  },
  {
    milkingDay: 180
  },
  {
    milkingDay: 360
  }
],
dnmodel_note:"每天送",
onsale_note:'30'


    
}

// 产品详情规格参数
var commodityDetails=[
  {
    headCommodity:"产品规格",
    textCommodity:"200ml",
    rowNumber:true
  },
  {
    headCommodity: "保质期",
    textCommodity: "3天",
    rowNumber: true
  },
  {
    headCommodity: "包装形式",
    textCommodity: "袋",
    rowNumber: true
  },
  {
    headCommodity: "储存方法",
    textCommodity: "2~6℃冷藏",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "商品产地",
    textCommodity: "辽宁",
    rowNumber: true
  },
  {
    headCommodity: "营养成分",
    textCommodity: "每100g含能量243KJ、蛋白质3.0g、脂肪3.3g、碳水化合物4.4g、钠37mg、非脂乳固体≥8.1%",
    rowNumber: false
  }
]
// 产品详情图片
var commodityDetailsImg=[
  "../images/details/xiangqing.jpg",
  "../images/details/xiangqing.jpg",
  "../images/details/xiangqing.jpg"
]

// 送奶时间
var milkingTimer=[
  {
    note: "早上送奶(大约:05:30~8:00)",
    snsd:'0'
  },
  {
    note: "下午送奶(大约:05:30~8:00)",
    snsd: '2'
  }
  
 
  
]
// 代金券20200214
var vouchers = [
  {
    "Oid": "09c6cc70-f77d-49fc-a05a-b8f1b10869b6",//活动id
    "dgje": "90.0000", //代金券金额为0，代表订购天数或订购金额
    "dgqje": "0", //代金券金额
    "dzmodel": "DINGNAIDAZENG",//搭赠模式
    "dzrq": "",//指定日期节点（开始日期10.8前的订奶10.8开始配送，10.8后的订奶，开始日期配送）
    "dzsl": "5",//搭赠数量
    "dzsp": "",//搭赠商品
    "dzwpimg": "",//搭赠商品主图
    "jg": "0.0000",//搭赠商品单价
    "jsmodel": "TIANSHU",//JINE，TIANSHU
    "maxdgje": "179.9900",//金额或天数区间最大值
    "note": "订满3个月可获赠5天同品",//说明，短信通知内容
    "otherzp": "",//其他赠品
    "qprqfs": "0",//0，订奶后开始起配；1，订奶开始起配；2，指定的日期节点
    "spid": "",//参与活动的商品，不指定表示所有商品参与活动
    "webnote": "赠送<span>5天同品</span>，订满<span>90天</span>使用，截止日期至2020-02-29",//说明，微信和网站显示

    "index": "0",//序列号下标
    // "giftPriceText": "0满100赠10元",//文字
    "imageSrc": "../images/shoppingCard/daijinquan2.png",
    // "voucherPrice": "满100元可用",//满金额天数
    "giftPrice": "5",//赠品
    "giftLimtText": "",//仅限文字
    "giftDateLimt": "有效期2018.11.18-2018.12.22"//有效期
  }
// {
//     "Oid": "09c6cc70-f77d-49fc-a05a-b8f1b10869b6",
//     "dgje": "90.0000",
//     "dgqje": "0",
//     "dzmodel": "DINGNAIDAZENG",
//     "dzrq": "",
//     "dzsl": "5",
//     "dzsp": "",
//     "dzwpimg": "",
//     "jg": "0.0000",
//     "jsmodel": "TIANSHU",
//     "maxdgje": "179.9900",
//     "note": "订满3个月可获赠5天同品",
//     "otherzp": "",
//     "qprqfs": "0",
//     "spid": "",
//     "webnote": "赠送<span>5天同品</span>，订满<span>90天</span>使用，截止日期至2020-02-29"
//   }
  
  // {
  //   "giftPriceNum": "1",
  //   "giftPriceText": "2满100赠10元",
  //   "imageSrc": "../images/shoppingCard/daijinquan2.png",
  //   "voucherPrice": "满100元可用",//满金额天数
  //   "giftPrice": "￥10",//赠品
  //   "giftLimtText": "限益生菌发酵乳",//仅限文字
  //   "giftDateLimt": "有效期2018.11.18-2018.12.22",//有效期
  // },

]
// 产品规格20200119
var selectionCapacity = [
  {
    "id":'0',
    "selectionCapacity":'150ml',
    "capacityImg": '../images/details/xiaotuImg.png',
    "kucunNum":'100'
  },
  {
    "id": '1',
    "selectionCapacity": '180ml',
    "capacityImg": '../images/details/xiaotuImg.png',
    "kucunNum": '100'
  },
  {
    "id": '2',
    "selectionCapacity": '250ml',
    "capacityImg": '../images/details/xiaotuImg.png',
    "kucunNum": '70'
  },
  {
    "id": '3',
    "selectionCapacity": '1000ml',
    "capacityImg": '../images/details/xiaotuImg.png',
    "kucunNum": '100'
  },
  {
    "id": '4',
    "selectionCapacity": '200ml',
    "capacityImg": '../images/details/xiaotuImg.png',
    "kucunNum": '100'
  },
]
// 拼单
var spellList=[
  {
    "index": '0',
    "spellListName": '夏欣夏欣',
    "spellListImg": '../images/details/touxiang.png',
    "spellListNum": '2',
    "spellListTime": '23:59:50',
    "endTime":'2022-03-11 16:51:43',
    'spellListhideen':false,
  },
  {
    "index": '1',
    "spellListName": '亿万少女的梦',
    "spellListImg": '../images/spellList/t1.jpg',
    "spellListNum": '2',
    "spellListTime": '23:59:50',
    "endTime": '2022-03-13 00:00:09',
    'spellListhideen': false,
  },
  {
    "index": '2',
    "spellListName": '欧阳文庄',
    "spellListImg": '../images/spellList/t2.jpg',
    "spellListNum": '1',
    "spellListTime": '23:59:50',
    "endTime": '2022-03-12 00:00:49',
    'spellListhideen': false,
  },
  {
    "index": '3',
    "spellListName": '张庄',
    "spellListImg": '../images/spellList/t2.jpg',
    "spellListNum": '1',
    "spellListTime": '23:59:50',
    "endTime": '2022-03-14 00:00:09',
    'spellListhideen': false,
  },
  {
    "index": '4',
    "spellListName": '剁手',
    "spellListImg": '../images/spellList/t1.jpg',
    "spellListNum": '2',
    "spellListTime": '23:59:50',
    "endTime": '2022-03-12 00:00:34',
    'spellListhideen': false,
  },
  {
    "index": '5',
    "spellListName": '李立新',
    "spellListImg": '../images/spellList/t2.jpg',
    "spellListNum": '1',
    "spellListTime": '23:59:50',
    "endTime": '2022-03-12 00:00:09',
    'spellListhideen': false,
  }, 
]
// 配送方式20200427
var deliveryMethod=[
    {
    'deliveryMethodHead':'配送到家',
    'deliveryMethod':"0"
    },
  {
    'deliveryMethodHead': '社区自取',
    'deliveryMethod': '1'
  },
    {
      'deliveryMethodHead': '店面自取',
      'deliveryMethod':'2'
    }
]
//历史订单
var historicalOrders=[
    {
      'historicalOrdersText': '1您今天的配送：鲜奶1瓶，尚有1瓶带配送，订单预计截止日期为2020-09-08',
    },
    {
      'historicalOrdersText': '2您今天的配送：鲜奶2瓶，尚有1瓶带配送，订单预计截止日期为2020-09-08',
    },
    {
      'historicalOrdersText': '3您今天的配送：鲜奶3瓶，尚有1瓶带配送，订单预计截止日期为2020-09-08',
    },
    {
      'historicalOrdersText': '4您今天的配送：鲜奶4瓶，尚有1瓶带配送，订单预计截止日期为2020-09-08',
    } ,
    {
      'historicalOrdersText': '5您今天的配送：鲜奶5瓶，尚有1瓶带配送，订单预计截止日期为2020-09-08',
    },
    {
      'historicalOrdersText': '6您今天的配送：鲜奶6瓶，尚有1瓶带配送，订单预计截止日期为2020-09-08',
    }  
]
// 推荐日期20210311
// 配送方式20200427
var tuijianData = [
  {
    'tuijianData': '延续现有订单截止日期',
    'tuijianDataIndex': "0",
    'tuijianDataImg':'../images/details/detailsImg/tuijian.png'
  },
  {
    'tuijianData': '自选开始送奶日期',
    'tuijianDataIndex': "1",
    'tuijianDataImg': '../images/details/detailsImg/zixuan.png'
  }
]
module.exports = {
  imgUrls: imgUrls,
  spinfo: spinfo,
  commodityDetails:commodityDetails,
  commodityDetailsImg: commodityDetailsImg,
  milkingTimer: milkingTimer,
  vouchers: vouchers,
  selectionCapacity: selectionCapacity,
  spellList: spellList,
  deliveryMethod: deliveryMethod,
  historicalOrders: historicalOrders,
  tuijianData: tuijianData
}